package face.pay.common.enterprise.service.impl;

import face.pay.common.enterprise.service.ITerminalTransferRecodeService;
import face.pay.dao.TerminalTransferRecodeDao;
import face.pay.entity.TerminalTransferRecode;
import face.pay.util.ResultMessage;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Classname TerminalTransferRecodeServiceImpl
 * @Description JJL
 * @Date 2019/10/18 9:41
 */
@Service
@Slf4j
public class TerminalTransferRecodeServiceImpl implements ITerminalTransferRecodeService {

    @Autowired
    private TerminalTransferRecodeDao terminalTransferRecodeDao;

    @Override
    public ResultMessage insert(TerminalTransferRecode terminalTransferRecode) {
        terminalTransferRecodeDao.insert(terminalTransferRecode);
        return ResultMessage.createSuccess();
    }
}
